package com.supermap.dataservice.grid.griddata.entity;

import java.io.Serializable;

/**
 * @author xiaolu
 * @date 2018/9/5 上午11:12
 */
public class GridData implements Serializable {
    private static final long serialVersionUID = 1L;
    private float left;
    private float right;
    private float top;
    private float bottom;
    private float dx;
    private float dy;
    private int width;
    private int height;
    private int valid;
    private String element;
    private String unit;
    private float dataMax;
    private float dataMin;
    private int level;
    private float[] values;
    private float[][] arrayValue;

    public GridData() {
    }

    public GridData(float left, float right, float top, float bottom, float dx, float dy, int width, int height, float[] values) {
        this.left = left;
        this.right = right;
        this.top = top;
        this.bottom = bottom;
        this.dx = dx;
        this.dy = dy;
        this.width = width;
        this.height = height;
        this.values = values;
    }

    public GridData(float left, float right, float top, float bottom, float dx, float dy, int width, int height, int valid, String element, String unit, float dataMax, float dataMin, int level, float[] values, float[][] arrayValue) {
        this.left = left;
        this.right = right;
        this.top = top;
        this.bottom = bottom;
        this.dx = dx;
        this.dy = dy;
        this.width = width;
        this.height = height;
        this.valid = valid;
        this.element = element;
        this.unit = unit;
        this.dataMax = dataMax;
        this.dataMin = dataMin;
        this.level = level;
        this.values = values;
        this.arrayValue = arrayValue;
    }

    public float getLeft() {
        return this.left;
    }

    public void setLeft(float left) {
        this.left = left;
    }

    public float getRight() {
        return this.right;
    }

    public void setRight(float right) {
        this.right = right;
    }

    public float getTop() {
        return this.top;
    }

    public void setTop(float top) {
        this.top = top;
    }

    public float getBottom() {
        return this.bottom;
    }

    public void setBottom(float bottom) {
        this.bottom = bottom;
    }

    public float getDx() {
        return this.dx;
    }

    public void setDx(float dx) {
        this.dx = dx;
    }

    public float getDy() {
        return this.dy;
    }

    public void setDy(float dy) {
        this.dy = dy;
    }

    public float[] getValues() {
        return this.values;
    }

    public void setValues(float[] values) {
        this.values = values;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getValid() {
        return valid;
    }

    public void setValid(int valid) {
        this.valid = valid;
    }

    public String getElement() {
        return element;
    }

    public void setElement(String element) {
        this.element = element;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public float getDataMax() {
        return dataMax;
    }

    public void setDataMax(float dataMax) {
        this.dataMax = dataMax;
    }

    public float getDataMin() {
        return dataMin;
    }

    public void setDataMin(float dataMin) {
        this.dataMin = dataMin;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public float[][] getArrayValue() {
        return arrayValue;
    }

    public void setArrayValue(float[][] arrayValue) {
        this.arrayValue = arrayValue;
    }
}

